import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);//sc做输入相关的对象
        String s = sc.next();
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < s.length(); i++) {
            char ch = s.charAt(i);
            int value = ch - 'A';
            value += 4;
            value %= 52;
            sb.append((char)(value + 'A'));
        }
        System.out.println(sb.toString());
    }
}
